local NPC = class("NPC")

function NPC:read(value)
	self.id = value.id -- npcId
	self.num = value.num
end


function NPC:write(value)
	value.id = self.uid
	value.num = self.num
end

function NPC:ctor()
	self.id = ""
	self.num = 0
end


return NPC
